package com.ellricky.baselib.adapter

import com.andr.common.ui.adapter.BaseRecyclerAdapter
import com.andr.common.ui.adapter.SmartViewHolder
import com.ellricky.baselib.R
import com.ellricky.baselib.entity.new.ClueActive

class SelectActiveAdapter :
    BaseRecyclerAdapter<ClueActive>(R.layout.base_adapter_select_active) {

    override fun onBindViewHolder(vh: SmartViewHolder, data: ClueActive, p2: Int) {
        vh.text(R.id.tvActive, data.activity_name)
            .text(R.id.tvBaseHour, data.activity_createtime)
            .text(R.id.tvBasePerson, data.employees_name)
    }
}